set SOURCEDIR=%~1
set PLATFORM=%~2
set CONFIG=%~3
set OUTDIR=%~4

echo %PLATFORM%
echo %CONFIG%

:: pugixml
set source = "%SOURCEDIR%\..\thirdparty\pugixml\lib\%PLATFORM%\%CONFIG%\pugixml.lib"
echo %source%
xcopy /y /f "%SOURCEDIR%\..\thirdparty\pugixml\lib\%PLATFORM%\%CONFIG%\pugixml.lib" "%OUTDIR%\"

:: jsoncpp
set source = "%SOURCEDIR%\..\thirdparty\jsoncpp\lib\%PLATFORM%\%CONFIG%\jsoncpp.lib"
echo %source%
xcopy /y /f "%SOURCEDIR%\..\thirdparty\jsoncpp\lib\%PLATFORM%\%CONFIG%\jsoncpp.lib" "%OUTDIR%\"